<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head th:replace="weixin/_fragments :: head(~{::title})">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>我的抢单列表</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="../../static/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="../../static/lib/bootstrapValidator/css/bootstrapValidator.min.css"/>
</head>
<body style="background-color: #31B0D5;">
<div style="margin-left: 8rem;">
    <ul class="nav nav-tabs">
        <li role="presentation"><a href="#" th:href="@{/meetingGrab/grab(uid=${uid})}">抢单</a></li>
        <li role="presentation" class="active"><a href="#" th:href="@{/meetingGrab/grabed(uid=${uid})}">我的抢单</a></li>
    </ul>
</div>
<div class="container" style="margin-top: 3.125rem;">
    <div class="well well-sm">
        你一共抢了<span th:text="${pageInfo.total}">3</span>场讲座订单
    </div>
    <div>
        <ul class="list-group" th:each="meeting : ${pageInfo.list}">
            <li class="list-group-item">
                <div class="row">
                    <div class="col-xs-9">
                        <ul class="list-group">
                            <li class="list-group-item"><a href="#" th:href="@{/meetingPublish/publishedDetail(id=${meeting.mid})}" th:text="${meeting.meetingPublish.mtitle}">量子力学的设计</a></li>
                            <li class="list-group-item"><span th:text="${meeting.meetingPublish.mcode}">20181010001</span>/<span th:text="${#dates.format(meeting.createTime, 'yyyy/MM/dd HH:mm')}">2018/10/10 12:40</span></li>
                        </ul>
                    </div>
                    <div class="col-xs-3">
                        <div style="margin-top: 30px">
                            <span th:if="${meeting.matchStatus} eq '0'" class="label label-info">待匹配</span>
                            <span th:if="${meeting.matchStatus} eq '1'" class="label label-success">匹配成功</span>
                            <span th:if="${meeting.matchStatus} eq '2'" class="label label-danger">匹配失败</span>
                        </div>
                    </div>
                </div>
            </li>
            <!--/*-->
            <li class="list-group-item">
                <div class="row">
                    <div class="col-xs-9">
                        <ul class="list-group">
                            <li class="list-group-item">量子力学的设计</li>
                            <li class="list-group-item"><span>清华大学</span>/<span>2018-10-10 12:45:23</span></li>
                        </ul>
                    </div>
                    <div class="col-xs-3">
                        <button class="btn btn-sm" disabled style="margin-top: 2rem;">已抢</button>
                    </div>
                </div>
            </li>
            <li class="list-group-item">
                <div class="row">
                    <div class="col-xs-9">
                        <ul class="list-group">
                            <li class="list-group-item">量子力学的设计</li>
                            <li class="list-group-item"><span>清华大学</span>/<span>2018-10-10 12:45:23</span></li>
                        </ul>
                    </div>
                    <div class="col-xs-3">
                        <button class="btn btn-sm" disabled style="margin-top: 2rem;">已抢</button>
                    </div>
                </div>
            </li>
            <!--*/-->
        </ul>
    </div>
    <div>
        <nav aria-label="Page navigation">
            <ul class="pager">
                <li class="previous" th:if="${pageInfo.pageNum} ne '1'">
                    <a href="#" th:href="@{/meetingGrab/grabed(uid=${uid},pageNum=${pageInfo.prePage})}"><span aria-hidden="true">&larr;</span> 上一页</a>
                </li>
                <li class="next" th:if="${pageInfo.pageNum} ne ${pageInfo.pages}">
                    <a href="#" th:href="@{/meetingGrab/grabed(uid=${uid},pageNum=${pageInfo.nextPage})}">下一页 <span aria-hidden="true">&rarr;</span></a>
                </li>
            </ul>
        </nav>
    </div>
</div>

<!--/*/<th:block th:replace="weixin/_fragments :: script">/*/-->
<script src="../../static/jquery/jquery-3.4.1.min.js" type="text/javascript"></script>
<script src="../../static/js/bootstrap.min.js" type="text/javascript"></script>
<script src="../../static/lib/bootstrapValidator/js/bootstrapValidator.min.js" type="text/javascript"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js" type="text/javascript"></script>
<!--/*/</th:block>/*/-->
</body>
</html>
